﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TestGlobals.cs" company="Collaboris Ltd.">
//   Copyright (c) Collaboris Ltd. All rights Reserved.
// </copyright>
// <summary>
//   Defines the TestGlobals type.
//   Contains global contants used by the unit tests.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Collaboris.Saf.Actions.Wss.Tests
{
    /// <summary>
    /// Defines the TestGlobals type.
    /// Contains global contants used by the unit tests.
    /// </summary>
    public static class TestGlobals
    {
        //public const string SampleFeaturesProjectUrl = @"CollaborisSaf.SampleFeatures\12\TEMPLATE\Features\";

        public const string FeaturesUrl = @"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\";
        //public const string FeaturesUrl = @"..\..\..\" + SampleFeaturesProjectUrl;


        public const string TestDirectory = @"C:\Temp";


        public const string ProjectTestDirectory = @"C:\Temp\Collaboris.Saf.Actions.Wss.Tests";

        /// <summary>
        /// URL of the site used by all wss unit tests. 
        /// You need to manually create this site in order to run any WSS unit tests.
        /// The template used by this site has to be "Team Site" 
        /// </summary>
        public const string WSSSite = "http://localhost:4411";

        /// <summary>
        /// URL of the site used by all MOSS Publishing unit tests. 
        /// You need to manually create this site in order to run any WSS unit tests.
        /// The template used by this site has to be "Publishing site" 
        /// </summary>
        public const string PublishingSite = "http://localhost:4422";

        public static class Lists
        {
            /// <summary>
            /// Used as a default list for testing purposes.
            /// </summary>
            public const string PersonListName = "PersonList";
            public const string EntityName = "Person";
        }

        public static class Fields
        {
            public const string Forename = "Forename";
            public const string Surname = "Surname";
            public const string Gender = "Gender";
            public const string Id = "ID";
            public const string Title = "Title";
        }
    }
}